/*
 	PureMVC UnifiedLoader Utility
 	Copyright (c) 2008 neil manuell
  	Your reuse is governed by the Creative Commons Attribution 3.0 License
 */
 package org.puremvc.as3.multicore.utilities.unifiedloader.patterns.deconstructors
{
	
	import flash.media.Sound;
	
	import org.puremvc.as3.multicore.utilities.unifiedloader.interfaces.IDeconstruct;

	
	/**
	* ...
	* @author DefaultUser (Tools -> Custom Arguments...)
	*/
	public class  SoundDeconstructor implements IDeconstruct
	{
		private var mSound:Sound;
		
		public function SoundDeconstructor(sound:Sound):void
		{
			mSound = sound;
		}
		
		public function deconstruct():void
		{
			mSound.close();
			mSound = null;
		}
		
	}
	
}